package com.project.entity;

import com.project.myBeans.EntitySupport;

public class Class extends EntitySupport{
    private Integer id;

    private String name;

    private Integer majorid;

    private Integer departmentid;

    private Integer schoolid;

    private Integer universityid;

    /**
     * 附加字段，构造树
     * @return
     */
    private final int adminrank = 5;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getMajorid() {
        return majorid;
    }

    public void setMajorid(Integer majorid) {
        this.majorid = majorid;
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public Integer getSchoolid() {
        return schoolid;
    }

    public void setSchoolid(Integer schoolid) {
        this.schoolid = schoolid;
    }

    public Integer getUniversityid() {
        return universityid;
    }

    public void setUniversityid(Integer universityid) {
        this.universityid = universityid;
    }

    public int getAdminrank() {
        return adminrank;
    }
}